Globals Reference

Global Functions

void init_directx(HWND hWnd,HINSTANCE hInst)

Initializes the directx global variable. It must be called by the frontend before using direct input, direct sound and direct play.

void free_directx()

Frees the directx global variable.

void init_render(int type,HWND hwnd)

Initializes the render global variable. It must be called by the frontend before rendering.

void free_render()

Frees the render global variable.